CC=gcc
CFLAGS=-I. 
CFLAGS += -I../../lib/libstrophe_new
OBJ = xmpp_client.o

#LIBS= -L ../../lib/libstrophe_new/.libs -l:libstrophe.a -lpthread -lexpat
LIBS= -L ../../lib/libstrophe_new/.libs -lstrophe -lpthread -lexpat

%.o: %.c $(DEPS)
	$(CC) -c -o $@ $< $(CFLAGS)

xmpp_client: $(OBJ)
	$(CC) -o $@ $^ $(CFLAGS) $(LIBS)

clean:
	rm -f *.o xmpp_client

